 <{include file="v2/header.html"}>
<main class="pt-24 pb-16">
        <!-- 英雄区域 -->
        <section class="relative h-[80vh] min-h-[600px] overflow-hidden">
            <div class="absolute inset-0 z-0">
                <img src="https://picsum.photos/id/1036/1920/1080" alt="古典意境" class="w-full h-full object-cover">
                <div class="absolute inset-0 hero-overlay"></div>
            </div>
            
            <div class="container mx-auto px-4 h-full flex items-center relative z-10">
                <div class="max-w-2xl scroll-reveal">
                    <h1 class="text-[clamp(2.5rem,6vw,4rem)] font-song font-bold text-rice leading-tight mb-6">
                        举头望明月<br>低头思故乡
                    </h1>
                    <p class="text-[clamp(1rem,2vw,1.25rem)] text-rice/90 mb-8 max-w-xl">
                        穿越千年的文字，在现代语境中重获新生。探索古典诗词的意境之美，感受传统文化的当代魅力。
                    </p>
                    <div class="flex flex-wrap gap-4">
                        <a href="<{spUrl c=main a=gushi}>" class="bg-cinnabar text-rice px-8 py-3 rounded-full hover:bg-opacity-90 transition-all duration-300 font-medium">
                            探索诗境
                        </a>
                        <a href="<{spUrl c=main a=interactive}>" class="bg-transparent border-2 border-rice text-rice px-8 py-3 rounded-full hover:bg-rice/10 transition-all duration-300 font-medium">
                            互动体验
                        </a>
                    </div>
                </div>
            </div>
        </section>
        
        <!-- 特色分类 -->
        <section class="container mx-auto px-4 py-16">
            <h2 class="text-[clamp(1.5rem,3vw,2.25rem)] font-song font-bold mb-2 text-center scroll-reveal">诗词分类</h2>
            <p class="text-lightink text-center max-w-2xl mx-auto mb-12 scroll-reveal">从不同主题感受古典诗词的多样魅力，找到触动你心灵的那一句</p>
            
            <div class="grid grid-cols-2 md:grid-cols-3 lg:grid-cols-6 gap-4 md:gap-6">
                <a href="index.php?c=main&a=gushi&f=tags&v=山水" class="bg-paper rounded-xl p-6 text-center feature-card-hover scroll-reveal">
                    <div class="w-14 h-14 mx-auto mb-4 rounded-full bg-cinnabar/10 flex items-center justify-center">
                        <i class="fa fa-tree text-cinnabar text-xl"></i>
                    </div>
                    <h3 class="font-song font-medium">山水</h3>
                </a>
                
                <a href="index.php?c=main&a=gushi&f=tags&v=边塞" class="bg-paper rounded-xl p-6 text-center feature-card-hover scroll-reveal">
                    <div class="w-14 h-14 mx-auto mb-4 rounded-full bg-cinnabar/10 flex items-center justify-center">
                        <i class="fa fa-flag text-cinnabar text-xl"></i>
                    </div>
                    <h3 class="font-song font-medium">边塞</h3>
                </a>
                
                <a href="index.php?c=main&a=gushi&f=tags&v=思乡" class="bg-paper rounded-xl p-6 text-center feature-card-hover scroll-reveal">
                    <div class="w-14 h-14 mx-auto mb-4 rounded-full bg-cinnabar/10 flex items-center justify-center">
                        <i class="fa fa-home text-cinnabar text-xl"></i>
                    </div>
                    <h3 class="font-song font-medium">思乡</h3>
                </a>
                
                <a href="index.php?c=main&a=gushi&f=tags&v=爱情" class="bg-paper rounded-xl p-6 text-center feature-card-hover scroll-reveal">
                    <div class="w-14 h-14 mx-auto mb-4 rounded-full bg-cinnabar/10 flex items-center justify-center">
                        <i class="fa fa-heart text-cinnabar text-xl"></i>
                    </div>
                    <h3 class="font-song font-medium">爱情</h3>
                </a>
                
                <a href="index.php?c=main&a=gushi&f=tags&v=咏史" class="bg-paper rounded-xl p-6 text-center feature-card-hover scroll-reveal">
                    <div class="w-14 h-14 mx-auto mb-4 rounded-full bg-cinnabar/10 flex items-center justify-center">
                        <i class="fa fa-book text-cinnabar text-xl"></i>
                    </div>
                    <h3 class="font-song font-medium">咏史</h3>
                </a>
                
                <a href="index.php?c=main&a=gushi&f=tags&v=田园" class="bg-paper rounded-xl p-6 text-center feature-card-hover scroll-reveal">
                    <div class="w-14 h-14 mx-auto mb-4 rounded-full bg-cinnabar/10 flex items-center justify-center">
                        <i class="fa fa-leaf text-cinnabar text-xl"></i>
                    </div>
                    <h3 class="font-song font-medium">田园</h3>
                </a>
            </div>
        </section>
        
        <!-- 精选诗词 -->
        <section class="bg-paper py-16">
            <div class="container mx-auto px-4">
                <div class="flex justify-between items-end mb-12">
                    <div>
                        <h2 class="text-[clamp(1.5rem,3vw,2.25rem)] font-song font-bold mb-2 scroll-reveal">精选诗词</h2>
                        <p class="text-lightink max-w-2xl scroll-reveal">每日精选，与你共赏经典</p>
                    </div>
                    <a href="index.php?c=main&a=gushi" class="hidden md:block text-cinnabar hover:text-cinnabar/80 transition-colors scroll-reveal">
                        查看全部 <i class="fa fa-angle-right ml-1"></i>
                    </a>
                </div>
                
                <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8">
                    <!-- 诗词1 -->
                    <{foreach from=$gushir item=gushi}>
                    <a href="<{spUrl c=main a=gsDetails id=$gushi.id}>" class="bg-rice rounded-xl overflow-hidden shadow-sm poem-card-hover scroll-reveal">
                        <div class="relative h-48 overflow-hidden">
                            <img src="<{$gushi.scene}>" alt="<{$gushi.title}>场景图" class="w-full h-full object-cover transition-transform duration-700 hover:scale-110">
                            <div class="absolute top-3 left-3 bg-cinnabar text-rice text-sm px-3 py-1 rounded-full"><{$gushi.dynasty}></div>
                        </div>
                        <div class="p-6">
                            <h3 class="text-xl font-song font-bold mb-2"><{$gushi.title}></h3>
                            <p class="text-sm text-lightink mb-3"><{$gushi.author}> · <{$gushi.dynasty}></p>
                            <p class="font-kai text-ink/80 mb-4"><{$gushi.content|truncate:100:"..."}></p>
                            <button class="text-cinnabar hover:text-cinnabar/80 transition-colors">
                                查看详情 <i class="fa fa-angle-right ml-1"></i>
                            </button>
                        </div>
                    </a>
                    <{/foreach}>
                </div>
                
                <div class="text-center mt-10 md:hidden scroll-reveal">
                    <a href="poems.html" class="inline-block text-cinnabar hover:text-cinnabar/80 transition-colors">
                        查看全部诗词 <i class="fa fa-angle-right ml-1"></i>
                    </a>
                </div>
            </div>
        </section>
        
        <!-- 互动体验 -->
        <section class="container mx-auto px-4 py-16">
            <h2 class="text-[clamp(1.5rem,3vw,2.25rem)] font-song font-bold mb-2 text-center scroll-reveal">互动体验</h2>
            <p class="text-lightink text-center max-w-2xl mx-auto mb-12 scroll-reveal">不止于读，更能创作与体验，让古典文学焕发新活力</p>
            
            <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6">
                <a href="soundscape.html" class="bg-paper rounded-xl p-6 feature-card-hover scroll-reveal">
                    <div class="w-16 h-16 mb-5 rounded-full bg-cinnabar/10 flex items-center justify-center">
                        <i class="fa fa-volume-up text-cinnabar text-2xl"></i>
                    </div>
                    <h3 class="text-lg font-song font-bold mb-2">声景体验</h3>
                    <p class="text-lightink text-sm">聆听诗词意境，感受声音中的古典世界</p>
                </a>
                
                <a href="painting.html" class="bg-paper rounded-xl p-6 feature-card-hover scroll-reveal">
                    <div class="w-16 h-16 mb-5 rounded-full bg-cinnabar/10 flex items-center justify-center">
                        <i class="fa fa-paint-brush text-cinnabar text-2xl"></i>
                    </div>
                    <h3 class="text-lg font-song font-bold mb-2">诗画创作</h3>
                    <p class="text-lightink text-sm">为喜爱的诗词创作插画，用画笔诠释意境</p>
                </a>
                
                <a href="dialogue.html" class="bg-paper rounded-xl p-6 feature-card-hover scroll-reveal">
                    <div class="w-16 h-16 mb-5 rounded-full bg-cinnabar/10 flex items-center justify-center">
                        <i class="fa fa-comments text-cinnabar text-2xl"></i>
                    </div>
                    <h3 class="text-lg font-song font-bold mb-2">古今对话</h3>
                    <p class="text-lightink text-sm">与古代诗人"对话"，探寻创作背后的故事</p>
                </a>
                
                <a href="interactive.html" class="bg-paper rounded-xl p-6 feature-card-hover scroll-reveal">
                    <div class="w-16 h-16 mb-5 rounded-full bg-cinnabar/10 flex items-center justify-center">
                        <i class="fa fa-pencil text-cinnabar text-2xl"></i>
                    </div>
                    <h3 class="text-lg font-song font-bold mb-2">续写诗句</h3>
                    <p class="text-lightink text-sm">延续经典，尝试为诗词创作新的篇章</p>
                </a>
            </div>
        </section>
        
        <!-- 诗人推荐 -->
        <section class="bg-ink text-rice py-16">
            <div class="container mx-auto px-4">
                <h2 class="text-[clamp(1.5rem,3vw,2.25rem)] font-song font-bold mb-2 text-center scroll-reveal">千古诗人</h2>
                <p class="text-rice/70 text-center max-w-2xl mx-auto mb-12 scroll-reveal">走进诗人的世界，了解他们的人生与创作</p>
                
                <div class="grid grid-cols-2 sm:grid-cols-3 md:grid-cols-4 lg:grid-cols-6 gap-6">
                    <!-- 诗人1 -->
                    <a href="poet-detail.html" class="text-center group scroll-reveal">
                        <div class="relative w-24 h-24 mx-auto mb-3 rounded-full overflow-hidden border-2 border-transparent group-hover:border-cinnabar transition-all duration-300">
                            <img src="//p1.renbenzhihui.com/upload/2025_33/e8a9da84e31af05.png" alt="李白头像" class="w-full h-full object-cover">
                        </div>
                        <h3 class="font-song font-medium group-hover:text-cinnabar transition-colors">李白</h3>
                        <p class="text-xs text-rice/70">唐代</p>
                    </a>
                    
                    <!-- 诗人2 -->
                    <a href="poet-detail.html" class="text-center group scroll-reveal">
                        <div class="relative w-24 h-24 mx-auto mb-3 rounded-full overflow-hidden border-2 border-transparent group-hover:border-cinnabar transition-all duration-300">
                            <img src="//p1.renbenzhihui.com/upload/2025_33/2bee5b62e67727d.png" alt="杜甫头像" class="w-full h-full object-cover">
                        </div>
                        <h3 class="font-song font-medium group-hover:text-cinnabar transition-colors">杜甫</h3>
                        <p class="text-xs text-rice/70">唐代</p>
                    </a>
                    
                    <!-- 诗人3 -->
                    <a href="poet-detail.html" class="text-center group scroll-reveal">
                        <div class="relative w-24 h-24 mx-auto mb-3 rounded-full overflow-hidden border-2 border-transparent group-hover:border-cinnabar transition-all duration-300">
                            <img src="//p1.renbenzhihui.com/upload/2025_33/d39f415bee6a004.png" alt="白居易头像" class="w-full h-full object-cover">
                        </div>
                        <h3 class="font-song font-medium group-hover:text-cinnabar transition-colors">白居易</h3>
                        <p class="text-xs text-rice/70">唐代</p>
                    </a>
                    
                    <!-- 诗人4 -->
                    <a href="poet-detail.html" class="text-center group scroll-reveal">
                        <div class="relative w-24 h-24 mx-auto mb-3 rounded-full overflow-hidden border-2 border-transparent group-hover:border-cinnabar transition-all duration-300">
                            <img src="//p1.renbenzhihui.com/upload/2025_33/ef12383329c04bd.png" alt="苏轼头像" class="w-full h-full object-cover">
                        </div>
                        <h3 class="font-song font-medium group-hover:text-cinnabar transition-colors">苏轼</h3>
                        <p class="text-xs text-rice/70">宋代</p>
                    </a>
                    
                    <!-- 诗人5 -->
                    <a href="poet-detail.html" class="text-center group scroll-reveal">
                        <div class="relative w-24 h-24 mx-auto mb-3 rounded-full overflow-hidden border-2 border-transparent group-hover:border-cinnabar transition-all duration-300">
                            <img src="//p1.renbenzhihui.com/upload/2025_33/410b24ac26a66ad.png" alt="李清照头像" class="w-full h-full object-cover">
                        </div>
                        <h3 class="font-song font-medium group-hover:text-cinnabar transition-colors">李清照</h3>
                        <p class="text-xs text-rice/70">宋代</p>
                    </a>
                    
                    <!-- 诗人6 -->
                    <a href="poet-detail.html" class="text-center group scroll-reveal">
                        <div class="relative w-24 h-24 mx-auto mb-3 rounded-full overflow-hidden border-2 border-transparent group-hover:border-cinnabar transition-all duration-300">
                            <img src="//p1.renbenzhihui.com/upload/2025_33/757b7069cd5e2b4.png" alt="王维头像" class="w-full h-full object-cover">
                        </div>
                        <h3 class="font-song font-medium group-hover:text-cinnabar transition-colors">王维</h3>
                        <p class="text-xs text-rice/70">唐代</p>
                    </a>
                </div>
                
                <div class="text-center mt-10">
                    <a href="poets.html" class="inline-block border-2 border-rice text-rice px-8 py-3 rounded-full hover:bg-rice hover:text-ink transition-all duration-300 font-song">
                        查看更多诗人
                    </a>
                </div>
            </div>
        </section>
    </main>
     <{include file="v2/footer.html"}>